//+----------+-------------+------+-----+---------+----------------+
//| Field    | Type        | Null | Key | Default | Extra          |
//+----------+-------------+------+-----+---------+----------------+
//| userId   | int(11)     | NO   | PRI | NULL    | auto_increment |
//| username | varchar(50) | YES  | UNI | NULL    |                |
//| password | varchar(50) | YES  |     | NULL    |                |
//+----------+-------------+------+-----+---------+----------------+

//user实体类
public class User {
    private int userId;
    private String username;
    private String password;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}

